package com.b2b.service.impl;

import com.b2b.mapper.UserMapper;
import com.b2b.model.entity.User;
import com.b2b.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 *
 * @author dolyw.com
 * @date 2018/8/9 15:45
 */
@Service
@Transactional
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService {
    @Autowired
    UserMapper userMapper;
    public List<User> selectUserById(Integer Id) {
        return userMapper.selectUserById(Id);
    }
}
